package org.gr.ias.common.entity;

import java.io.Serializable;
import java.util.Date;

public class ProjectDeliver implements Serializable {
    /** */
    private String id;

    /** 投递人*/
    private String deliverUserId;

    /** 投递人名称*/
    private String deliverUserName;

    /** 投递人手机号码*/
    private String deliverUserMobile;

    /** 投递时间*/
    private Date deliverTime;

    /** 投递的项目ID*/
    private String projectId;

    /** 投递的项目名称*/
    private String projectName;

    /** 被投递的资金ID*/
    private String capitalId;

    /** 被投递的资金名称*/
    private String capitalName;

    /** 是否已读*/
    private String isRead;

    /** 投递状态：
            01-等待约谈
            02-约谈中
            03-约谈成功
            04-拒绝约谈*/
    private String deliverStatus;

    /** 修改人*/
    private String updateUser;

    /** 修改时间*/
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getDeliverUserId() {
        return deliverUserId;
    }

    public void setDeliverUserId(String deliverUserId) {
        this.deliverUserId = deliverUserId == null ? null : deliverUserId.trim();
    }

    public String getDeliverUserName() {
        return deliverUserName;
    }

    public void setDeliverUserName(String deliverUserName) {
        this.deliverUserName = deliverUserName == null ? null : deliverUserName.trim();
    }

    public String getDeliverUserMobile() {
        return deliverUserMobile;
    }

    public void setDeliverUserMobile(String deliverUserMobile) {
        this.deliverUserMobile = deliverUserMobile == null ? null : deliverUserMobile.trim();
    }

    public Date getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(Date deliverTime) {
        this.deliverTime = deliverTime;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId == null ? null : projectId.trim();
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName == null ? null : projectName.trim();
    }

    public String getCapitalId() {
        return capitalId;
    }

    public void setCapitalId(String capitalId) {
        this.capitalId = capitalId == null ? null : capitalId.trim();
    }

    public String getCapitalName() {
        return capitalName;
    }

    public void setCapitalName(String capitalName) {
        this.capitalName = capitalName == null ? null : capitalName.trim();
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead == null ? null : isRead.trim();
    }

    public String getDeliverStatus() {
        return deliverStatus;
    }

    public void setDeliverStatus(String deliverStatus) {
        this.deliverStatus = deliverStatus == null ? null : deliverStatus.trim();
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser == null ? null : updateUser.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ProjectDeliver other = (ProjectDeliver) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDeliverUserId() == null ? other.getDeliverUserId() == null : this.getDeliverUserId().equals(other.getDeliverUserId()))
            && (this.getDeliverUserName() == null ? other.getDeliverUserName() == null : this.getDeliverUserName().equals(other.getDeliverUserName()))
            && (this.getDeliverUserMobile() == null ? other.getDeliverUserMobile() == null : this.getDeliverUserMobile().equals(other.getDeliverUserMobile()))
            && (this.getDeliverTime() == null ? other.getDeliverTime() == null : this.getDeliverTime().equals(other.getDeliverTime()))
            && (this.getProjectId() == null ? other.getProjectId() == null : this.getProjectId().equals(other.getProjectId()))
            && (this.getProjectName() == null ? other.getProjectName() == null : this.getProjectName().equals(other.getProjectName()))
            && (this.getCapitalId() == null ? other.getCapitalId() == null : this.getCapitalId().equals(other.getCapitalId()))
            && (this.getCapitalName() == null ? other.getCapitalName() == null : this.getCapitalName().equals(other.getCapitalName()))
            && (this.getIsRead() == null ? other.getIsRead() == null : this.getIsRead().equals(other.getIsRead()))
            && (this.getDeliverStatus() == null ? other.getDeliverStatus() == null : this.getDeliverStatus().equals(other.getDeliverStatus()))
            && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDeliverUserId() == null) ? 0 : getDeliverUserId().hashCode());
        result = prime * result + ((getDeliverUserName() == null) ? 0 : getDeliverUserName().hashCode());
        result = prime * result + ((getDeliverUserMobile() == null) ? 0 : getDeliverUserMobile().hashCode());
        result = prime * result + ((getDeliverTime() == null) ? 0 : getDeliverTime().hashCode());
        result = prime * result + ((getProjectId() == null) ? 0 : getProjectId().hashCode());
        result = prime * result + ((getProjectName() == null) ? 0 : getProjectName().hashCode());
        result = prime * result + ((getCapitalId() == null) ? 0 : getCapitalId().hashCode());
        result = prime * result + ((getCapitalName() == null) ? 0 : getCapitalName().hashCode());
        result = prime * result + ((getIsRead() == null) ? 0 : getIsRead().hashCode());
        result = prime * result + ((getDeliverStatus() == null) ? 0 : getDeliverStatus().hashCode());
        result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deliverUserId=").append(deliverUserId);
        sb.append(", deliverUserName=").append(deliverUserName);
        sb.append(", deliverUserMobile=").append(deliverUserMobile);
        sb.append(", deliverTime=").append(deliverTime);
        sb.append(", projectId=").append(projectId);
        sb.append(", projectName=").append(projectName);
        sb.append(", capitalId=").append(capitalId);
        sb.append(", capitalName=").append(capitalName);
        sb.append(", isRead=").append(isRead);
        sb.append(", deliverStatus=").append(deliverStatus);
        sb.append(", updateUser=").append(updateUser);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}